//
//  constant.h
//  SpeedTap
//
//  Created by Chi Ho Chiu on 14/8/11.
//  Copyright 2011 Individual. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "cocos2d.h"

const static float HUD_LAYER_Y_RATIO = 0.15;
const static float GENERAL_LAYER_Y_RATIO = 1 - HUD_LAYER_Y_RATIO;
const static float GENERAL_LAYER_X_RATIO = 0.7;

//Type of the Sprite, different stage can be different type
typedef enum
{
    kSPRITE_TYPE_NIL = -1,
    kSPRITE_TYPE_SQUARE = 1,
    kSPRITE_TYPE_MOTOR = 2,
    kSPRITE_TYPE_LANTERN = 3,
    kSPRITE_TYPE_REVOLUTION = 10,
    
} ESpriteType;

//State of the Sprite, different time can be different stage
typedef enum
{
    kSPRITE_STATE_NIL = -1,
    kSPRITE_STATE_IDLE = 0,
    kSPRITE_STATE_REMOVING = 1,
    kSPRITE_STATE_REMOVED = 2
} ESpriteState;

typedef enum
{
    kGAME_STATE_NIL = -1,
    kGAME_STATE_LOADING = 0,
    kGAME_STATE_PLAYING = 1,
    kGAME_STATE_LEVEL_COMPLETED = 2,
    kGAME_STATE_GAME_OVER = 3,
} EGameState;

typedef enum
{
    kGAME_SCENE_NIL = -1,
    kGAME_SCENE_MAIN_MENU = 101,
    kGAME_SCENE_OPTION = 102,
    kGAME_SCENE_LEVEL_SELECT = 103,
    kGAME_SCENE_LEVEL_COMPLETE = 104,
    kGAME_SCENE_GAME_OVER = 105,
	kGAME_SCENE_MODE_SELECT = 106,
    kGAME_SCENE_LEVEL_1 = 1,
    kGAME_SCENE_LEVEL_2 = 2,
    kGAME_SCENE_LEVEL_3 = 3,
    kGAME_SCENE_LEVEL_4 = 4,
    kGAME_SCENE_LEVEL_5 = 5,
    kGAME_SCENE_LEVEL_6 = 6,
    kGAME_SCENE_LEVEL_7 = 7,
    kGAME_SCENE_LEVEL_8 = 8,
    kGAME_SCENE_LEVEL_9 = 9,
    kGAME_SCENE_LEVEL_10 = 10,
    kGAME_SCENE_LEVEL_11 = 11,
    kGAME_SCENE_LEVEL_12 = 12,
    kGAME_SCENE_LEVEL_13 = 13,
    kGAME_SCENE_LEVEL_14 = 14,
    kGAME_SCENE_LEVEL_15 = 15,
    kGAME_SCENE_LEVEL_16 = 16,
    kGAME_SCENE_LEVEL_17 = 17,
    kGAME_SCENE_LEVEL_18 = 18,
    kGAME_SCENE_LEVEL_19 = 19,
    kGAME_SCENE_LEVEL_20 = 20,
    kGAME_SCENE_LEVEL_21 = 21,
    kGAME_SCENE_LEVEL_22 = 22,
    kGAME_SCENE_LEVEL_23 = 23,
    kGAME_SCENE_LEVEL_24 = 24,
    kGAME_SCENE_LEVEL_25 = 25
} EGameScene;
/*
typedef enum
{
    kTAG_NIL = -1
} EChildTag;
*/
